<!DOCTYPE html>  
<html>  
  <head>  
    <title>Demo 11</title>
    <style>
div.fixpos {  
    position: fixed;  
    bottom: 50px;  
    right: 5px; 
    background-color: #00ffff;  
    width: 100px;  
    height: 100px;  
}
h2.pos_left {  
    position: relative;  
    left: -30px;  
}  
h2.pos_right {  
    position: relative;  
    left: 30px;  
}
h2.pos_abs {  
    position: absolute;  
    left: 150px;  
    top: 250px;  
} 
</style>  
  </head>  
  <body>  
    <div class="fixpos">fixed text fixed text fixed text
      fixed text fixed text fixed text
    </div>
    <h2>normal position</h2>  
    <h2 class="pos_left">left position</h2>  
    <h2 class="pos_right">right position</h2>
    <h2 class="pos_abs">absolute position</h2>  
  </body>  
</html>